import React, { Component } from 'react';
import './index.css';
import  { Link } from 'react-router-dom' ;
import {Icon} from 'antd';

class HomeHead extends Component {
    render() {
        return (
            <div className="homeHead">
                <img alt="头像" src="https://zos.alipayobjects.com/rmsportal/ODTLcjxAfvqbxHnVXCYX.png"/>
                <span>{this.props.title}</span>
                <Link to="/app/find/index">
                    <Icon type="plus-circle" className="homeTitleIcon"/>
                </Link>
            </div>
        );
    }
}

export default HomeHead;
